<script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup
import { computed } from 'vue';
import {
  NMessageProvider,
  NLoadingBarProvider,
  NConfigProvider,
  zhCN,
  dateZhCN,
  NSpace,
  NLayoutHeader,
  NLayout,
  NLayoutContent,
  NLayoutFooter,
  NLayoutSider
} from 'naive-ui'
import Header from './components/header.vue'
import Slider from './components/slider.vue'
</script>

<template>
  <!-- <img alt="Vue logo" src="./assets/logo.png" /> -->
  <n-config-provider :locale="zhCN" :date-locale="dateZhCN">
    <n-message-provider>
      <n-loading-bar-provider>
        <!-- <n-layout-header></n-layout-header> -->
        <Header />
        <n-space vertical size="large">
          <!-- <n-layout has-sider> -->
            <!-- <n-layout-sider bordered content-style="padding: 24px;">海淀桥</n-layout-sider> -->
            <n-layout>
              <n-layout-content content-style="padding: 0px;">
                <router-view></router-view>
              </n-layout-content>
            </n-layout>
          <!-- </n-layout> -->
        </n-space>
        <!-- <n-layout-footer bordered:true>成府路</n-layout-footer> -->
      </n-loading-bar-provider>
    </n-message-provider>
  </n-config-provider>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* color: #2c3e50; */
}
.n-layout-header,
.n-layout-footer {
  /* background: rgba(128, 128, 128, 0.2); */
  padding: 24px;
}

.n-layout-sider {
  /* background: rgba(128, 128, 128, 0.3); */
}

.n-layout-content {
  /* background: rgba(128, 128, 128, 0.4); */
}
</style>